import request from '../utils/request';

export function userLogin(data) {
    return request({
        url: "/commonApi/doLogin",
        method: 'post',
        data: data
    })
}

export function getInfo() {
    return request({
        url: "/system/sysUser/info",
        method: "get"
    });
}

export function userLogout() {
    return request({
        url: "/system/sysUser/logout",
        method: "delete",
    })
}
